home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 127 / maccd 127.iso / software / MenuCalendarClock-iCal-1.6.5.dmg / MenuCalendarClock iCal.app / Contents / Resources / ActivationPrefs.nib / _ActivationPrefs_EOArchive.java next >
Encoding:
Java Source  |  2005-02-24  |  27.1 KB  |  492 lines

  1. // _ActivationPrefs_EOArchive.java
  2. // Generated by EnterpriseObjects palette at Freitag, 7. Januar 2005 11:44 Uhr Europe/Paris
  3.  
  4. import com.webobjects.eoapplication.*;
  5. import com.webobjects.eocontrol.*;
  6. import com.webobjects.eointerface.*;
  7. import com.webobjects.eointerface.swing.*;
  8. import com.webobjects.foundation.*;
  9. import java.awt.*;
  10. import javax.swing.*;
  11. import javax.swing.border.*;
  12. import javax.swing.table.*;
  13. import javax.swing.text.*;
  14.  
  15. public class _ActivationPrefs_EOArchive extends com.webobjects.eoapplication.EOArchive {
  16.     IBHelpConnector _iBHelpConnector0;
  17.     com.webobjects.eointerface.swing.EOFrame _eoFrame0, _eoFrame1;
  18.     com.webobjects.eointerface.swing.EOImageView _nsImageView0;
  19.     com.webobjects.eointerface.swing.EOMatrix _nsMatrix0;
  20.     com.webobjects.eointerface.swing.EOTextField _nsTextField0, _nsTextField1, _nsTextField2, _nsTextField3, _nsTextField4, _nsTextField5, _nsTextField6;
  21.     com.webobjects.eointerface.swing.EOView _nsBox0, _nsBox1, _nsBox2, _nsBox3, _nsBox4, _nsBox5;
  22.     com.webobjects.foundation.NSNumberFormatter _nsNumberFormatter0;
  23.     javax.swing.JButton _nsButton0, _nsButton1, _nsButton2, _nsButton3;
  24.     javax.swing.JCheckBox _nsButton4, _nsButton5, _nsButton6, _nsButton7;
  25.     javax.swing.JPanel _nsView0, _nsView1;
  26.     javax.swing.JRadioButton _jRadioButton0, _jRadioButton1, _jRadioButton2;
  27.  
  28.     public _ActivationPrefs_EOArchive(Object owner, NSDisposableRegistry registry) {
  29.         super(owner, registry);
  30.     }
  31.  
  32.     protected void _construct() {
  33.         Object owner = _owner();
  34.         EOArchive._ObjectInstantiationDelegate delegate = (owner instanceof EOArchive._ObjectInstantiationDelegate) ? (EOArchive._ObjectInstantiationDelegate)owner : null;
  35.         Object replacement;
  36.  
  37.         super._construct();
  38.  
  39.         _nsNumberFormatter0 = (com.webobjects.foundation.NSNumberFormatter)_registered(new com.webobjects.foundation.NSNumberFormatter("0;-0"), "");
  40.  
  41.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "autoCurrentDayButton")) != null)) {
  42.             _nsButton7 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
  43.             _replacedObjects.setObjectForKey(replacement, "_nsButton7");
  44.         } else {
  45.             _nsButton7 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Select current day on opening calendar"), "NSButton41");
  46.         }
  47.  
  48.         _nsTextField6 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField21");
  49.         _nsTextField5 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField2");
  50.         _nsBox5 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView");
  51.  
  52.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "openiCalInDayViewButtonSeparator")) != null)) {
  53.             _nsBox4 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOView)replacement;
  54.             _replacedObjects.setObjectForKey(replacement, "_nsBox4");
  55.         } else {
  56.             _nsBox4 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox111");
  57.         }
  58.  
  59.         _nsBox3 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView");
  60.         _nsBox2 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox11");
  61.         _nsBox1 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView");
  62.         _nsBox0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox1");
  63.  
  64.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "updateCheckButton")) != null)) {
  65.             _nsButton6 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
  66.             _replacedObjects.setObjectForKey(replacement, "_nsButton6");
  67.         } else {
  68.             _nsButton6 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Automatic update check"), "NSButton411");
  69.         }
  70.  
  71.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "openiCalInDayViewButton")) != null)) {
  72.             _nsButton5 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
  73.             _replacedObjects.setObjectForKey(replacement, "_nsButton5");
  74.         } else {
  75.             _nsButton5 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Double-click opens iCal in Day View"), "NSButton11");
  76.         }
  77.  
  78.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "secondsField")) != null)) {
  79.             _nsTextField4 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
  80.             _replacedObjects.setObjectForKey(replacement, "_nsTextField4");
  81.         } else {
  82.             _nsTextField4 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField");
  83.         }
  84.  
  85.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "restoreDefaultButton")) != null)) {
  86.             _nsButton3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
  87.             _replacedObjects.setObjectForKey(replacement, "_nsButton3");
  88.         } else {
  89.             _nsButton3 = (javax.swing.JButton)_registered(new javax.swing.JButton("Restore Default"), "NSButton1");
  90.         }
  91.  
  92.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "registerNoteLabel")) != null)) {
  93.             _nsTextField3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
  94.             _replacedObjects.setObjectForKey(replacement, "_nsTextField3");
  95.         } else {
  96.             _nsTextField3 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111111");
  97.         }
  98.  
  99.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "currentHotkeyTextField")) != null)) {
  100.             _nsTextField2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
  101.             _replacedObjects.setObjectForKey(replacement, "_nsTextField2");
  102.         } else {
  103.             _nsTextField2 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField1");
  104.         }
  105.  
  106.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "defineHotkeyButton")) != null)) {
  107.             _nsButton2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
  108.             _replacedObjects.setObjectForKey(replacement, "_nsButton2");
  109.         } else {
  110.             _nsButton2 = (javax.swing.JButton)_registered(new javax.swing.JButton("Set Hotkey"), "NSButton");
  111.         }
  112.  
  113.         _iBHelpConnector0 = (IBHelpConnector)_registered(new IBHelpConnector(), "");
  114.         _nsButton1 = (javax.swing.JButton)_registered(new javax.swing.JButton(""), "NSButton31");
  115.  
  116.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "hotkeyCheckbox")) != null)) {
  117.             _nsButton4 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
  118.             _replacedObjects.setObjectForKey(replacement, "_nsButton4");
  119.         } else {
  120.             _nsButton4 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Hotkey Activation"), "NSButton4");
  121.         }
  122.  
  123.         _jRadioButton2 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "");
  124.         _jRadioButton1 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton("When using other applications"), "");
  125.         _jRadioButton0 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton("Never"), "");
  126.  
  127.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "autoHideOptionsCheckboxes")) != null)) {
  128.             _nsMatrix0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOMatrix)replacement;
  129.             _replacedObjects.setObjectForKey(replacement, "_nsMatrix0");
  130.         } else {
  131.             _nsMatrix0 = (com.webobjects.eointerface.swing.EOMatrix)_registered(new com.webobjects.eointerface.swing.EOMatrix(3, 1, 4, 2), "NSMatrix1");
  132.         }
  133.  
  134.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "_window")) != null)) {
  135.             _eoFrame1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement;
  136.             _replacedObjects.setObjectForKey(replacement, "_eoFrame1");
  137.         } else {
  138.             _eoFrame1 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Window");
  139.         }
  140.  
  141.         _nsView1 = (JPanel)_eoFrame1.getContentPane();
  142.         _nsButton0 = (javax.swing.JButton)_registered(new javax.swing.JButton("Cancel"), "NSButton");
  143.         _nsImageView0 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
  144.         _nsTextField1 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111111");
  145.         _nsTextField0 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField2");
  146.  
  147.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "hotkeySheet")) != null)) {
  148.             _eoFrame0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement;
  149.             _replacedObjects.setObjectForKey(replacement, "_eoFrame0");
  150.         } else {
  151.             _eoFrame0 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Sheet");
  152.         }
  153.  
  154.         _nsView0 = (JPanel)_eoFrame0.getContentPane();
  155.     }
  156.  
  157.     protected void _awaken() {
  158.         super._awaken();
  159.  
  160.         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
  161.             _connect(_eoFrame0, _owner(), "delegate");
  162.         }
  163.  
  164.         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
  165.             _connect(_owner(), _eoFrame0, "hotkeySheet");
  166.         }
  167.  
  168.         if (_replacedObjects.objectForKey("_eoFrame1") == null) {
  169.             _connect(_eoFrame1, _owner(), "delegate");
  170.         }
  171.  
  172.         if (_replacedObjects.objectForKey("_nsButton7") == null) {
  173.             _connect(_owner(), _nsButton7, "autoCurrentDayButton");
  174.         }
  175.  
  176.         _nsButton7.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton7), ""));
  177.  
  178.         if (_replacedObjects.objectForKey("_nsBox4") == null) {
  179.             _connect(_owner(), _nsBox4, "openiCalInDayViewButtonSeparator");
  180.         }
  181.  
  182.         if (_replacedObjects.objectForKey("_nsButton6") == null) {
  183.             _connect(_owner(), _nsButton6, "updateCheckButton");
  184.         }
  185.  
  186.         _nsButton6.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton6), ""));
  187.  
  188.         if (_replacedObjects.objectForKey("_nsButton5") == null) {
  189.             _connect(_owner(), _nsButton5, "openiCalInDayViewButton");
  190.         }
  191.  
  192.         _nsButton5.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton5), ""));
  193.  
  194.         if (_replacedObjects.objectForKey("_nsTextField4") == null) {
  195.             _connect(_owner(), _nsTextField4, "secondsField");
  196.         }
  197.  
  198.         _nsTextField4.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsTextField4), ""));
  199.  
  200.         if (_replacedObjects.objectForKey("_nsButton3") == null) {
  201.             _connect(_owner(), _nsButton3, "restoreDefaultButton");
  202.         }
  203.  
  204.         _nsButton3.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "restoreDefault", _nsButton3), ""));
  205.  
  206.         if (_replacedObjects.objectForKey("_nsTextField3") == null) {
  207.             _connect(_owner(), _nsTextField3, "registerNoteLabel");
  208.         }
  209.  
  210.         if (_replacedObjects.objectForKey("_nsTextField2") == null) {
  211.             _connect(_owner(), _nsTextField2, "currentHotkeyTextField");
  212.         }
  213.  
  214.         if (_replacedObjects.objectForKey("_nsButton2") == null) {
  215.             _connect(_owner(), _nsButton2, "defineHotkeyButton");
  216.         }
  217.  
  218.         if (_replacedObjects.objectForKey("_nsButton2") == null) {
  219.             _connect(_owner(), _nsButton2, "_lastKeyView");
  220.         }
  221.  
  222.         _nsButton2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "defineHotkey", _nsButton2), ""));
  223.  
  224.         if (_replacedObjects.objectForKey("_nsButton4") == null) {
  225.             _connect(_owner(), _nsButton4, "hotkeyCheckbox");
  226.         }
  227.  
  228.         if (_replacedObjects.objectForKey("_nsButton4") == null) {
  229.             _connect(_owner(), _nsButton4, "_initialKeyView");
  230.         }
  231.  
  232.         if (_replacedObjects.objectForKey("_nsButton4") == null) {
  233.             _connect(_owner(), _nsButton4, "_firstKeyView");
  234.         }
  235.  
  236.         _nsButton4.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton4), ""));
  237.  
  238.         if (_replacedObjects.objectForKey("_nsMatrix0") == null) {
  239.             _connect(_owner(), _nsMatrix0, "autoHideOptionsCheckboxes");
  240.         }
  241.  
  242.         _jRadioButton0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _jRadioButton0), ""));
  243.         _jRadioButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _jRadioButton1), ""));
  244.         _jRadioButton2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _jRadioButton2), ""));
  245.  
  246.         if (_replacedObjects.objectForKey("_eoFrame1") == null) {
  247.             _connect(_owner(), _eoFrame1, "_window");
  248.         }
  249.  
  250.         _nsButton0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "cancelPressed", _nsButton0), ""));
  251.     }
  252.  
  253.     protected void _init() {
  254.         super._init();
  255.         _nsNumberFormatter0.setMinimum(new java.math.BigDecimal("0"));
  256.         _nsNumberFormatter0.setMaximum(new java.math.BigDecimal("999"));
  257.  
  258.         if (_replacedObjects.objectForKey("_nsButton7") == null) {
  259.             _setFontForComponent(_nsButton7, "Lucida Grande", 13, Font.PLAIN);
  260.         }
  261.  
  262.         _setFontForComponent(_nsTextField6, "Lucida Grande", 13, Font.PLAIN);
  263.         _nsTextField6.setEditable(false);
  264.         _nsTextField6.setOpaque(false);
  265.         _nsTextField6.setText("seconds after opening");
  266.         _nsTextField6.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  267.         _nsTextField6.setSelectable(false);
  268.         _nsTextField6.setEnabled(true);
  269.         _nsTextField6.setBorder(null);
  270.         _setFontForComponent(_nsTextField5, "Lucida Grande", 13, Font.PLAIN);
  271.         _nsTextField5.setEditable(false);
  272.         _nsTextField5.setOpaque(false);
  273.         _nsTextField5.setText("Hide Calendar automatically:");
  274.         _nsTextField5.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  275.         _nsTextField5.setSelectable(false);
  276.         _nsTextField5.setEnabled(true);
  277.         _nsTextField5.setBorder(null);
  278.  
  279.         if (_replacedObjects.objectForKey("_nsBox4") == null) {
  280.             if (!(_nsBox4.getLayout() instanceof EOViewLayout)) { _nsBox4.setLayout(new EOViewLayout()); }
  281.             _nsBox5.setSize(125, 1);
  282.             _nsBox5.setLocation(2, 2);
  283.             ((EOViewLayout)_nsBox4.getLayout()).setAutosizingMask(_nsBox5, EOViewLayout.MinYMargin);
  284.             _nsBox4.add(_nsBox5);
  285.             _nsBox4.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN));
  286.         }
  287.  
  288.         if (!(_nsBox2.getLayout() instanceof EOViewLayout)) { _nsBox2.setLayout(new EOViewLayout()); }
  289.         _nsBox3.setSize(125, 1);
  290.         _nsBox3.setLocation(2, 2);
  291.         ((EOViewLayout)_nsBox2.getLayout()).setAutosizingMask(_nsBox3, EOViewLayout.MinYMargin);
  292.         _nsBox2.add(_nsBox3);
  293.         _nsBox2.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN));
  294.         if (!(_nsBox0.getLayout() instanceof EOViewLayout)) { _nsBox0.setLayout(new EOViewLayout()); }
  295.         _nsBox1.setSize(125, 1);
  296.         _nsBox1.setLocation(2, 2);
  297.         ((EOViewLayout)_nsBox0.getLayout()).setAutosizingMask(_nsBox1, EOViewLayout.MinYMargin);
  298.         _nsBox0.add(_nsBox1);
  299.         _nsBox0.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN));
  300.  
  301.         if (_replacedObjects.objectForKey("_nsButton6") == null) {
  302.             _setFontForComponent(_nsButton6, "Lucida Grande", 13, Font.PLAIN);
  303.         }
  304.  
  305.         if (_replacedObjects.objectForKey("_nsButton5") == null) {
  306.             _setFontForComponent(_nsButton5, "Lucida Grande", 13, Font.PLAIN);
  307.         }
  308.  
  309.         if (_replacedObjects.objectForKey("_nsTextField4") == null) {
  310.             _setFontForComponent(_nsTextField4, "Lucida Grande", 11, Font.PLAIN);
  311.             _nsTextField4.setEditable(true);
  312.             _nsTextField4.setOpaque(true);
  313.             _nsTextField4.setText("20");
  314.             _nsTextField4.setHorizontalAlignment(javax.swing.JTextField.CENTER);
  315.             _nsTextField4.setSelectable(true);
  316.             _nsTextField4.setEnabled(true);
  317.         }
  318.  
  319.         if (_replacedObjects.objectForKey("_nsButton3") == null) {
  320.             _setFontForComponent(_nsButton3, "Lucida Grande", 13, Font.PLAIN);
  321.             _nsButton3.setMargin(new Insets(0, 2, 0, 2));
  322.         }
  323.  
  324.         if (_replacedObjects.objectForKey("_nsTextField3") == null) {
  325.             _setFontForComponent(_nsTextField3, "Lucida Grande", 10, Font.PLAIN);
  326.             _nsTextField3.setEditable(false);
  327.             _nsTextField3.setOpaque(false);
  328.             _nsTextField3.setText("Please register to enable this feature.");
  329.             _nsTextField3.setHorizontalAlignment(javax.swing.JTextField.CENTER);
  330.             _nsTextField3.setSelectable(false);
  331.             _nsTextField3.setEnabled(true);
  332.             _nsTextField3.setBorder(null);
  333.         }
  334.  
  335.         if (_replacedObjects.objectForKey("_nsTextField2") == null) {
  336.             _setFontForComponent(_nsTextField2, "Lucida Grande", 13, Font.PLAIN);
  337.             _nsTextField2.setEditable(false);
  338.             _nsTextField2.setOpaque(false);
  339.             _nsTextField2.setText("Current hotkey is \"%@\".");
  340.             _nsTextField2.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  341.             _nsTextField2.setSelectable(false);
  342.             _nsTextField2.setEnabled(true);
  343.             _nsTextField2.setBorder(null);
  344.         }
  345.  
  346.         if (_replacedObjects.objectForKey("_nsButton2") == null) {
  347.             _setFontForComponent(_nsButton2, "Lucida Grande", 13, Font.PLAIN);
  348.             _nsButton2.setMargin(new Insets(0, 2, 0, 2));
  349.         }
  350.  
  351.         _setFontForComponent(_nsButton1, "Lucida Grande", 13, Font.PLAIN + Font.BOLD);
  352.         _nsButton1.setMargin(new Insets(0, 2, 0, 2));
  353.  
  354.         if (_replacedObjects.objectForKey("_nsButton4") == null) {
  355.             _setFontForComponent(_nsButton4, "Lucida Grande", 13, Font.PLAIN);
  356.         }
  357.  
  358.         _setFontForComponent(_jRadioButton2, "Lucida Grande", 13, Font.PLAIN);
  359.         _setFontForComponent(_jRadioButton1, "Lucida Grande", 13, Font.PLAIN);
  360.         _setFontForComponent(_jRadioButton0, "Lucida Grande", 13, Font.PLAIN);
  361.  
  362.         if (_replacedObjects.objectForKey("_nsMatrix0") == null) {
  363.             _jRadioButton0.setSize(395, 22);
  364.             _jRadioButton0.setLocation(0, 0);
  365.             _nsMatrix0.add(_jRadioButton0);
  366.             _jRadioButton1.setSize(395, 22);
  367.             _jRadioButton1.setLocation(0, 24);
  368.             _nsMatrix0.add(_jRadioButton1);
  369.             _jRadioButton2.setSize(395, 22);
  370.             _jRadioButton2.setLocation(0, 48);
  371.             _nsMatrix0.add(_jRadioButton2);
  372.             _setFontForComponent(_nsMatrix0, "Lucida Grande", 13, Font.PLAIN);
  373.         }
  374.  
  375.         if (!(_nsView1.getLayout() instanceof EOViewLayout)) { _nsView1.setLayout(new EOViewLayout()); }
  376.         _nsMatrix0.setSize(395, 70);
  377.         _nsMatrix0.setLocation(30, 38);
  378.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsMatrix0, EOViewLayout.MinYMargin);
  379.         _nsView1.add(_nsMatrix0);
  380.         _nsButton4.setSize(291, 17);
  381.         _nsButton4.setLocation(11, 133);
  382.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton4, EOViewLayout.MinYMargin);
  383.         _nsView1.add(_nsButton4);
  384.         _nsButton1.setSize(21, 24);
  385.         _nsButton1.setLocation(385, 286);
  386.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton1, EOViewLayout.MinYMargin);
  387.         _nsView1.add(_nsButton1);
  388.         _nsButton2.setSize(156, 26);
  389.         _nsButton2.setLocation(206, 180);
  390.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton2, EOViewLayout.MinYMargin);
  391.         _nsView1.add(_nsButton2);
  392.         _nsTextField2.setSize(348, 17);
  393.         _nsTextField2.setLocation(42, 156);
  394.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField2, EOViewLayout.MinYMargin);
  395.         _nsView1.add(_nsTextField2);
  396.         _nsTextField3.setSize(361, 13);
  397.         _nsTextField3.setLocation(20, 205);
  398.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField3, EOViewLayout.MinYMargin);
  399.         _nsView1.add(_nsTextField3);
  400.         _nsButton3.setSize(156, 26);
  401.         _nsButton3.setLocation(43, 180);
  402.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton3, EOViewLayout.MinYMargin);
  403.         _nsView1.add(_nsButton3);
  404.         _nsTextField4.setSize(36, 19);
  405.         _nsTextField4.setLocation(51, 87);
  406.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField4, EOViewLayout.MinYMargin);
  407.         _nsView1.add(_nsTextField4);
  408.         _nsButton5.setSize(368, 17);
  409.         _nsButton5.setLocation(11, 270);
  410.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton5, EOViewLayout.MinYMargin);
  411.         _nsView1.add(_nsButton5);
  412.         _nsButton6.setSize(368, 17);
  413.         _nsButton6.setLocation(11, 233);
  414.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton6, EOViewLayout.MinYMargin);
  415.         _nsView1.add(_nsButton6);
  416.         _nsBox0.setSize(345, 5);
  417.         _nsBox0.setLocation(32, 119);
  418.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsBox0, EOViewLayout.MinYMargin);
  419.         _nsView1.add(_nsBox0);
  420.         _nsBox2.setSize(345, 5);
  421.         _nsBox2.setLocation(32, 221);
  422.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsBox2, EOViewLayout.MinYMargin);
  423.         _nsView1.add(_nsBox2);
  424.         _nsBox4.setSize(345, 5);
  425.         _nsBox4.setLocation(32, 256);
  426.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsBox4, EOViewLayout.MinYMargin);
  427.         _nsView1.add(_nsBox4);
  428.         _nsTextField5.setSize(416, 17);
  429.         _nsTextField5.setLocation(11, 14);
  430.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField5, EOViewLayout.MinYMargin);
  431.         _nsView1.add(_nsTextField5);
  432.         _nsTextField6.setSize(335, 17);
  433.         _nsTextField6.setLocation(92, 88);
  434.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField6, EOViewLayout.MinYMargin);
  435.         _nsView1.add(_nsTextField6);
  436.         _nsButton7.setSize(368, 17);
  437.         _nsButton7.setLocation(11, 292);
  438.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton7, EOViewLayout.MinYMargin);
  439.         _nsView1.add(_nsButton7);
  440.  
  441.         if (_replacedObjects.objectForKey("_eoFrame1") == null) {
  442.             _nsView1.setSize(419, 321);
  443.             _eoFrame1.setTitle("Activation");
  444.             _eoFrame1.setLocation(100, 397);
  445.             _eoFrame1.setSize(419, 321);
  446.         }
  447.  
  448.         _setFontForComponent(_nsButton0, "Lucida Grande", 13, Font.PLAIN);
  449.         _nsButton0.setMargin(new Insets(0, 2, 0, 2));
  450.         _setFontForComponent(_nsTextField1, "Lucida Grande", 10, Font.PLAIN);
  451.         _nsTextField1.setEditable(false);
  452.         _nsTextField1.setOpaque(false);
  453.         _nsTextField1.setText("Note: At least one modifier (Command, Option, Control) or an 'F'-key must be used.");
  454.         _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  455.         _nsTextField1.setSelectable(false);
  456.         _nsTextField1.setEnabled(true);
  457.         _nsTextField1.setBorder(null);
  458.         _setFontForComponent(_nsTextField0, "Lucida Grande", 13, Font.PLAIN);
  459.         _nsTextField0.setEditable(false);
  460.         _nsTextField0.setOpaque(false);
  461.         _nsTextField0.setText("Set the activation hotkey by pressing the desired key combination.");
  462.         _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  463.         _nsTextField0.setSelectable(false);
  464.         _nsTextField0.setEnabled(true);
  465.         _nsTextField0.setBorder(null);
  466.         if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); }
  467.         _nsTextField0.setSize(193, 72);
  468.         _nsTextField0.setLocation(124, 5);
  469.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MinYMargin);
  470.         _nsView0.add(_nsTextField0);
  471.         _nsTextField1.setSize(312, 30);
  472.         _nsTextField1.setLocation(5, 87);
  473.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MinYMargin);
  474.         _nsView0.add(_nsTextField1);
  475.         _nsImageView0.setSize(103, 80);
  476.         _nsImageView0.setLocation(7, 3);
  477.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsImageView0, EOViewLayout.MinYMargin);
  478.         _nsView0.add(_nsImageView0);
  479.         _nsButton0.setSize(121, 26);
  480.         _nsButton0.setLocation(196, 125);
  481.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton0, EOViewLayout.MinYMargin);
  482.         _nsView0.add(_nsButton0);
  483.  
  484.         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
  485.             _nsView0.setSize(326, 161);
  486.             _eoFrame0.setTitle("Menu Calendar: Set Hotkey");
  487.             _eoFrame0.setLocation(48, 296);
  488.             _eoFrame0.setSize(326, 161);
  489.         }
  490.     }
  491. }
  492.